package be.ac.ua.ecampus.cmat.types;

public class Syllabus extends Entity{
	private double fPrice;
	private String fAcademicYear;
	private boolean fAvailable;
	
	public Syllabus(int id, double price, String description, String academicYear, boolean available) {
		super("syllabus", id, description);
		this.fPrice = price;
		this.fAcademicYear = academicYear;
		this.fAvailable = available;
	}

	public boolean isAvailable() {
		return fAvailable;
	}

	public void setAvailable(boolean fAvailable) {
		this.fAvailable = fAvailable;
	}

	public double getPrice() {
		return fPrice;
	}

	public void setPrice(double fPrice) {
		this.fPrice = fPrice;
	}

	public String getAcademicYear() {
		return fAcademicYear;
	}

	public void setAcademicYear(String fAcademicYear) {
		this.fAcademicYear = fAcademicYear;
	}
}
